package cn.tedu.forum.user.webapi.controller;

import cn.tedu.forum.pojo.entity.UserInfo;
import cn.tedu.forum.user.service.IUserInfoService;
import cn.tedu.forum.commons.response.JsonResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpSession;

/**
 * 用户基本信息控制类
 *
 * @author DunJu Zhou
 */
@RestController
@RequestMapping("/user")
public class UserHomePageController {
    @Autowired
    IUserInfoService userInfoService;

    /*@RequestMapping("/getInfoById")
    public JsonResponse<UserInfo> getInfoById(HttpSession session) {
        return JsonResponse.ok(userInfoService.getInfoById(session));
    }*/

}
